<!DOCTYPE html>
<meta charset="utf-8">
<title>Test forced colors mode while printing.</title>
<style>
  body {
    background-image: url("resources/test-image.jpg");
    color: red;
    forced-color-adjust: none;
  }
</style>
<script>
  if (window.testRunner)
      testRunner.setPrinting();
</script>
<body>
  This text should remain red when printing in forced colors mode.
</body>
